package lvhui;

import java.awt.event.FocusEvent;
import java.util.List;
import org.junit.Test;

import lvhui.dao.LvOrder_DetailDao;
import lvhui.dao.LvOrder_MasterDao;
import lvhui.dao.impl.LvOrder_DetailDaoImpl;
import lvhui.dao.impl.LvOrder_MasterDaoImpl;
import lvhui.entity.LvOrder_Detail;
import lvhui.entity.LvOrder_Master;
import lvhui.entity.LvProduct_Info;
import lvhui.entity.LvProduct_Pic_Info;
import lvhui.service.LvOrder_DetailService;
import lvhui.service.LvOrder_MasterService;
import lvhui.service.impl.LvOrder_DetailServiceImpl;
import lvhui.service.impl.LvOrder_MasterServiceImpl;


/**
* @author 吕辉
*
* @date 2019年8月20日
*/
public class LvTest01 {
	private LvOrder_DetailDao ldd = new LvOrder_DetailDaoImpl();
	private LvOrder_MasterDao lmd = new LvOrder_MasterDaoImpl();
	
	private LvOrder_MasterService lms = new LvOrder_MasterServiceImpl();
	private LvOrder_DetailService lds = new LvOrder_DetailServiceImpl();
	
	
	@Test
	public void testgetAllLvOrder_Detail(){
		List<LvOrder_Detail> list = ldd.getAllLvOrder_Detail();
		for (LvOrder_Detail lvOrder_Detail : list) {
			System.out.println(lvOrder_Detail);
		}
	}
	
	@Test
	public void testgetAllLvOrder_Master(){
		List<LvOrder_Master> list = lmd.getAllLvOrder_Master();
		for (LvOrder_Master lvOrder_Master : list) {
			System.out.println(lvOrder_Master);
		}
	}
	
	@Test
	public void testgetAllLvOrder_Master2(){
		List<LvOrder_Master> list = lms.getAllLvOrder_Master();
		for (LvOrder_Master lvOrder_Master : list) {
			System.out.println(lvOrder_Master);
		}
	}
	
	@Test
	public void testgetAllLvOrder_Detail2(){
		List<LvOrder_Detail> list = lds.getAllLvOrder_Detail();
		for (LvOrder_Detail lvOrder_Detail : list) {
			System.out.println(lvOrder_Detail);
		}
	}
	

	
}

